#ifndef LIGHT_H
#define LIGHT_H

#include "vector3d.h"
#include "material.h"

class Light{
	public:
		Light();
		Light(const Vector3D &, const Material &, double, double, double);
		~Light();

		const Vector3D &getPosition() const {return position;};
		void setPosition(const Vector3D &_p) {position = _p;};

		const Material &getMaterial() const {return material;};
		void setMaterial(const Material &_m) {material = _m;};

        void setGlobal(double, double, double);
        const double* getGlobal() const;
        const GLfloat* getGlobalGL() const;

	private:
        Vector3D position;
        Material material;
		double global[3];
};

#endif

